//
//  YMSaveTool.h
//  Lottery
//
//  Created by youmy on 15/8/2.
//  Copyright (c) 2015年 youmy. All rights reserved.

//  存储

#import <Foundation/Foundation.h>

@interface YMSaveTool : NSObject

+ (BOOL)isLogin;
+ (id)valueForKey:(NSString *)defaultName;
+ (void)setValue:(id)value forKey:(NSString *)defaultName;
+ (void)setObject:(id)value forKey:(NSString *)defaultName;
+ (id)objectForKey:(NSString *)defaultName;
+ (BOOL)boolForKey:(NSString *)defaultName;
+ (void)setBool:(BOOL)value forKey:(NSString *)defaultName;
+ (NSInteger)integerForKey:(NSString *)defaultName;
+ (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName;
+ (float)floatForKey:(NSString *)defaultName;
+ (void)setFloat:(float)value forKey:(NSString *)defaultName;
+ (double)doubleForKey:(NSString *)defaultName;
+ (void)setDouble:(double)value forKey:(NSString *)defaultName;
+ (void)removeObjectForKey:(NSString *)defaultName;

@end
